//Source file: H:\\temp\\generated\\multidiagram\\NestedDiagram.java

package com.cea.papyrus.multidiagram.extension;

/**
 * Provide getter/setter for shared object.
 * Editors whishing to have the shared object by this method should implement this interface
 * TODO Remove this interface as there is other ways to do that ?
 * @author dumoulin
 * 
 */
public interface NestedDiagram {

    /**
     * Set the MultiDiagramSharedObjects property.
     * 
     * @param sharedObjects
     */
    public void setSharedObjects(MultiDiagramSharedObjects sharedObjects);

    /**
     * Get the MultiDiagramSharedObjects property.
     * 
     * @return
     */
    public MultiDiagramSharedObjects getSharedObjects();

    /**
     * Set the root of the editor. This method is intended to initialize the
     * editor. It should be called immediately after the editor creation. The
     * editor is not intended to allow further calls.
     * 
     * @param root
     */
    public void setRoot(Object root);

}
